<template>
  <div class="page-container">
    <!--表格内容栏-->
    <cm-table ref="dataTable"
      pkName="id" 
      :filters="filters" 
      :filterFields="filterFields"
      :columns="columns"
    ></cm-table>
  </div>
</template>

<script setup>
import {ref} from 'vue';

const filters = ref({
  name: '',
  code: ''
});
const filterFields = ref([
  {prop: "userName", label: "操作人员"},
]);
const columns = ref([
  {prop: "orgName", label: "操作部门", minWidth: 120},
  {prop: "userName", label: "操作人员", minWidth: 100},
  {prop: "createTime", label: "登录时间", width: 160},
  {prop: "loginType", label: "登录类型", minWidth: 120},
  {prop: "ipAddress", label: "IP地址", minWidth: 120},
  {prop: "browserInfo", label: "浏览器信息", minWidth: 120},
  {prop: "operatorInfo", label: "操作信息", minWidth: 120}
]);
</script>